<include file="public:header" />
<include file="public:left" />
<button type="button" class="btn btn-primary" onclick="window.location.href='{:U('Website/addView')}'">添加参数</button>
<br>
<br>
<form action="{:U('Website/baseAdd')}" method="post">
    <table id="sample-table-1" class="table table-striped table-bordered table-hover wrfont14">
        <thead>
        <tr>
            <th>参数说明</th>
            <th width="50%">参数值</th>
            <th width="20%">变量名</th>
        </tr>
        </thead>
        <tbody>
            <if condition="$list neq ''" >
                <volist name="list" id="val">
                <tr>
                    <td>{$val.remark}：</td>
                    <td><input style="width: 100%" type="text" name="website[{$val.name}]" value="{$val.value}"></td>
                    <td>{$val.name}</td>
                </tr>
                </volist>
            </if>
        </tbody>
    </table>
    <button type="submit" class="btn btn-primary" >保存</button>
</form>

<include file="public:footer" />